<template>
  <div id="app">
    <h3 class="login-title" v-show="$route.path==='/login'"/>
      <router-view/>
  </div>
</template>
<style lang="stylus">
#app
  font-family PingFangSC-Regular, sans-serif,'Microsoft YaHei','Avenir', Helvetica, Arial, sans-serif
  -webkit-font-smoothing antialiased
  -moz-osx-font-smoothing grayscale
  background:url('./assets/img/bg.png') center center no-repeat;
  background-size:100%;
  height:100vh;
  width:100vw;
  position: relative;
  .login-title
    position: absolute;
    top: 17.3vh;
    left: 50%;
    margin-left: -136px;
    width: 272px;
    height: 35px;
    background:url('./assets/img/title.png') center center no-repeat;
    background-size:contain;;
</style>
